package com.leha.mp.core.entity.vo;
import com.leha.mp.core.Utils.BeanUtil;
import com.leha.mp.core.entity.mybatis.PlProduct;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class DoctorRichInfoVo {
    private Integer id;
    private String name;
    private String photo;
    private String hospital;
    private String department;
    private String title;
    private String goodat;
    private String experience;
    private Integer memberCount;
    private Integer totalCount;
    private List<PlProduct> doctorProduct;
    private Integer msgTimes=0;
    private Integer phoneTimes=0;
    private Integer videoTimes=0;
    private Date vipExpireTime;
    private Boolean isVip = false;

    public DoctorBaseInfoVo toBaseInfo() {
       DoctorBaseInfoVo v = new DoctorBaseInfoVo();
       BeanUtil.copyNotNullBean(this, v);
       return  v;
    }
}
